<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>后盾人</title>
  </head>
  <body>
    <div>hdcms</div>
    <div>houdunren</div>
  </body>
  <script>
    // let divs = document.querySelectorAll("div");
    // let map = new WeakMap();
    // divs.forEach(item => map.set(item, item.innerHTML));
    // console.log(map);

    let arr = [];
    let map = new WeakMap();
    map.set(arr, "hdcms.com");
    // map.delete(arr);
    // console.log(map.has(arr));
    // console.log(map);
    // console.log(map.keys());
    // let hd = new Map([["name", "后盾人"]]);
    // console.log(hd.size);
    // for (const iterator of map) {
    //   console.log(iterator);
    // }
  </script>
</html>
